package com.senlingspace.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.senlingspace.system.domain.SlkjOrder;
import com.senlingspace.system.domain.SlkjOrderPricingSnapshot;
import com.senlingspace.system.domain.SlkjOrderStatusLog;
import com.senlingspace.system.domain.vo.SlkjOrderStatusLogVo;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 订单详情对象Dto
 *
 * @author SenlingSpace
 * @date 2024-07-25
 */

@Data
public class OrderDto extends SlkjOrder {

    private static final long serialVersionUID = 1L;

    /*订单详情*/
    List<SlkjOrderPricingSnapshot> ticketLevelCategory;

    /*订单分账快照*/
    List<SlkjOrderSplitSnapshotDto> slkjOrderSplitSnapshot;

    /*订单状态表*/
    List<SlkjOrderStatusLogVo> findByOrderIds;

    /*用户购买票总数量*/
    private Integer bayQuantitySum;
    /*用户购买商品总数量*/
    private Integer bayQuantityGoodsSum;

    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;



}
